package com.qfedu.service.impl;

import com.qfedu.dao.TradeDao;
import com.qfedu.service.TradeService;
import com.qfedu.vo.VTradeInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Date;
import java.util.List;

/**
 * @Author 刘浩
 * @Date 2020/8/24 15:22
 */
@Service
public class TradeServiceImpl implements TradeService {
    @Autowired
    private TradeDao tradeDao;
    @Override
    public List<VTradeInfo> findAll(Date beginTime ,Date endTime) {
        return tradeDao.findAll(beginTime, endTime);
    }
}
